package cn.org.eshow.dao;

import cn.org.eshow.bean.query.FavoriteQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.Favorite;

import java.util.List;

/**
 * An interface that provides a data management interface to the Favorite table.
 */
public interface FavoriteDao extends GenericDao<Favorite, Integer> {

    List<Favorite> list(FavoriteQuery query);

    Page<Favorite> search(FavoriteQuery query);

    long count(FavoriteQuery query);

}
